package com.example.demozy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 条件单回测结果类
 * @author 张展鹏
 */
public class SingleBackTestResultVO {
    // **************** 公开变量

    // **************** 私有变量

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date day;
    private double open;
    private double high;
    private double low;
    private double close;
    private double transactionPrice;
    private int buyShare;
    private int sellShare;
    private int share;
    private double property;
    private double capital;

    // **************** 继承方法

    // **************** 公开方法

    public Date getDay() {
        return day;
    }

    public void setDay(Date day) {
        this.day = day;
    }

    public double getOpen() {
        return open;
    }

    public void setOpen(double open) {
        this.open = open;
    }

    public double getHigh() {
        return high;
    }

    public void setHigh(double high) {
        this.high = high;
    }

    public double getLow() {
        return low;
    }

    public void setLow(double low) {
        this.low = low;
    }

    public double getClose() {
        return close;
    }

    public void setClose(double close) {
        this.close = close;
    }

    public double getTransactionPrice() {
        return transactionPrice;
    }

    public void setTransactionPrice(double transactionPrice) {
        this.transactionPrice = transactionPrice;
    }

    public int getBuyShare() {
        return buyShare;
    }

    public void setBuyShare(int buyShare) {
        this.buyShare = buyShare;
    }

    public int getSellShare() {
        return sellShare;
    }

    public void setSellShare(int sellShare) {
        this.sellShare = sellShare;
    }

    public int getShare() {
        return share;
    }

    public void setShare(int share) {
        this.share = share;
    }

    public double getProperty() {
        return property;
    }

    public void setProperty(double property) {
        this.property = property;
    }

    public double getCapital() {
        return capital;
    }

    public void setCapital(double capital) {
        this.capital = capital;
    }


    // **************** 私有方法
}
